<!--
 * @Description: 404 oage
 * @LastEditors: gzw
 * @Date: 2019-04-22 19:22:34
 * @LastEditTime: 2019-04-24 18:40:31
 -->
<template>
  <div class="error">
    <!-- <img src="../assets/404.svg" alt="404"> -->
    <h1>404</h1>
    <h3>抱歉，你访问的页面不存在</h3>
    <el-button type="primary" size="small" @click="navToIndex">返回首页</el-button>
  </div>
</template>

<script>

export default {
  name: "pageNotFound",
  methods: {
    // /**
    //  * @description: 跳转到首页
    //  * @param {type} 
    //  * @return: 
    //  */
    navToIndex() {
      // this.$router.replace({ path: '/' })
    }
  }
};
</script>

<style scoped lang="less">
.error {
  text-align: center;
  img {
    width: 300px;
    margin-right: -50px;
  }
  h1 {
    font-size: 72px;
    margin: 0;
  }
  h3 {
    font-weight: normal;
  }
}
</style>
